package io.sunny.platform.mcp.infrastructure.mapper;

import io.sunny.platform.mcp.domain.model.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author SUNNY
 * @Date 2025/12/3 18:17
 * @PackageName: io.sunny.platform.mcp.infrastructure.mapper
 * @Description: TODO
 * @Version 1.0
 */
public interface BookMapper {

    List<Book> findBooksByAuthor(@Param("author") String author);

    List<Book> findBooksByCategory(@Param("category") String category);
}
